package com.haha.keymap.v1;

import java.awt.event.KeyEvent;

/**
 * @author shenlinnan
 * @date 2025/7/18 0:31
 */
public enum MappedKey {

    /**
     * 按键映射
     */
    MINUS(KeyEvent.VK_MINUS, "-"),
    EQUALS(KeyEvent.VK_EQUALS, "="),
    ONE(KeyEvent.VK_1, "1"),
    TWO(KeyEvent.VK_2, "2"),
    THREE(KeyEvent.VK_3, "3"),
    FOUR(KeyEvent.VK_4, "4"),
    ZERO(KeyEvent.VK_0, "0"),
    NINE(KeyEvent.VK_9, "9");


    final int keyCode;
    final String keyString;

    MappedKey(int keyCode, String keyString) {
        this.keyCode = keyCode;
        this.keyString = keyString;
    }

}
